.header {
    background-color: #F5F5F5;
    height: 36px;
    line-height: 36px;
    font-size: 12px;
    color: gray;

    .toolbar {
        text-align: center;

        .left {
            float: left;

            span {
                margin-right: 5px;
            }
        }

        .right {
            float: right;

            .reg {
                color: #FF8000;
            }

            .shoppingCar {
                color: #FF8000;
            }

            span {
                margin-right: 5px;
            }
        }
    }
}

.index-header {
    position: relative;
    height: 110px;

    a {
        display: block;
        position: absolute;
        top: 0;
        left: 0px;
        margin-top: 10px;

        .logo {
            width: 190px;
            height: 90px;
        }
    }

    .gif-logo {
        position: absolute;
        left: 200px;
        width: 160px;
        height: 100px;
        margin-top: 5px;
    }

    .search {
        position: absolute;
        width: 600px;
        height: 100px;
        left: 360px;
        margin-top: 25px;

        .search-g {
            position: relative;
            border: 3px solid #FF8000;
            border-radius: 10px;
            width: 100%;
            height: 40px;
            color: gray;

            .icon-sousuo1 {
                font-size: 23px;
                position: absolute;
                top: 8px;
            }

            .search-inp {
                height: 100%;
                outline: 0;
                border: 0;
                width: 75%;
                position: absolute;
                left: 30px;
                font-size: 12px;
            }

            .btn {
                height: 110%;
                background-color: #FF8000;
                position: absolute;
                top: -2px;
                right: -1px;
                width: 120px;
                outline: 0;
                border: 3px solid #FF8000;
                border-radius: 0 10px 10px 0;
                color: #F5F5F5;
                font-size: 23px;
                text-align: center;
            }
        }

        .info {
            color: gray;
            font-size: 12px;
            position: absolute;
            top: 50px;

            span {
                margin: 5px 8px;
            }
        }
    }
}

.nav-bar {
    height: 38px;
    position: relative;

    .classify {
        width: 200px;
        height: 100%;
        font-size: 14px;
        color: #F5F5F5;
        background-color: #FF8000;
        line-height: 38px;
        // padding-left: 5px;
        border-radius: 15px 15px 0 0;
        float: left;
        position: relative;

        .data-info {

            height: 476px;
            width: 100%;
            background-color: #FFFFFF;
            position: absolute;
            left: 0;
            z-index: 999;
            color: black;

            li {
                color: black;
                height: 34px;
                line-height: 34px;

                &:hover {
                    background-color: #F3F3F3;
                }

                img {
                    height: 26px;
                    margin-top: 4px;

                }
            }
        }
    }

    .info {
        float: left;
        line-height: 38px;
        text-align: center;
        margin-left: 20px;
        font-size: 16px;
        font-weight: bolder;

        span {
            margin: 0 7px;

            &:first-child {
                color: red;
                font-size: 23px;
            }
        }
    }

    .publicity {
        width: 200px;
        height: 100%;
        font-size: 14px;
        color: #D5BC88;
        background-color: #4A4A48;
        line-height: 38px;
        text-align: center;
        padding-left: 5px;
        border-radius: 15px 15px 0 0;
        position: absolute;
        right: 0;

        .data-info {
            height: 476px;
            width: 100%;
            background-color: #FFFFFF;
            position: absolute;
            right: 0;
            z-index: 999;

            span {
                color: black;
                float: right;
                margin-right: 15px;
                height: 20px;
            }

            .hellouser {
                margin-right: 20px;
            }

            .sn-logo {
                float: left;
                width: 50px;
                height: 50px;
                margin: 5px 0 0 5px;
            }

            .user-info {
                height: 425px;
                width: 100%;
                position: absolute;
                top: 50px;

                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}


.banner {
    background-color: #4A4A48;
    position: relative;
    height: 476px;

    .swiper {
        position: absolute;
        left: 200px;
        width: 790px;
        height: 476px;
        overflow: hidden;

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .swiper {
            margin-left: auto;
            margin-right: auto;
        }

        .swiper-pagination {
            bottom: 120px;
        }

        // .swiper-pagination-bullet:root {
        //     --swiper-theme-color: #FF8000;
        // }
    }

    .bottom {
        position: absolute;
        bottom: 0;
        left: 205px;
        z-index: 999;

        img {
            width: 18.5%;
            margin: 4px;

        }
    }
}

.container {


    .good-info {
        margin-top: 10px;
        margin-left: 10px;

        span {
            font-size: 25px;
            font-weight: bolder;
        }
    }

    .goods-list {
        display: flex;
        flex-wrap: wrap;
        font-size: 12px;
        margin-top: 20px;

        img {
            width: 80%;
            display: block;
            margin: 0px auto;
            margin-top: 10px;
        }

        li {
            width: 20%;
            box-sizing: border-box;
            padding: 5px 10px;

            &:hover {
                box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.4);
            }
        }

        .price {
            line-height: 32px;
            color: #e43981;
        }

        .desc {
            line-height: 24px;
            /* 老版本弹性盒 */
            display: -webkit-box;
            /* 超出两行隐藏 */
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}